﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../XEngine/LineUtil.js"></script>
    <script src="../XEngine/XEngine.js"></script>
    <script src="../XEngine/XVML.js"></script>
    <script src="../XEngine/XNode.js"></script>
    <script src="../XWorkflow/XWFActivity.js"></script>

    
    <script type="text/javascript">
        var act1;
        var act2;
        var link1;
        window.onload = function () {
            // 初始化流程引擎
            XEngine.init(document.getElementById('container'),
                new XVML());

            // 创建一个图表用于显示流程图
            var diagram = XEngine.createDiagram('d1');

            // 显示图表
            XEngine.showDiagram(diagram);

            var act11 = new XWFDecision();
            act11.setPos(100, 100);
            act11.setSize(200, 200);
            diagram.add(act11);
        };

    </script>
</head>
<body>
    <div id="debug"></div>
    <div id="container" style="width:100%; height:600px;">

    </div>
</body>
</html>
